<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use app\controller\api\Common;
use think\facade\Route;


Route::group('api',function(){
    // 商品
    Route::get('goods/list','api.goods/list');
    Route::get('goods/info','api.goods/getGoodsInfo');

    // 订单
    Route::post('order/getFreight','api.order/getFreight');
    Route::post('order/checkBuy','api.order/checkBuy');
    Route::post('order/placeOrder','api.order/placeOrder');
    Route::post('order/queryOrder','api.order/queryOrder');
    Route::post('order/cancelOrder','api.order/cancelOrder');

    // 消息
    Route::post('message/getMsgList','api.message/getMsgList');
    Route::post('message/delMsg','api.message/delMsg');
});
